/**********************************************************************************
 * Code license:  GNU General Public License v3                                   *
 * Main page:     https://code.google.com/p/library-cross-platform/               *
 * Issue tracker: https://code.google.com/p/library-cross-platform/issues/list    *
***********************************************************************************/

package library.ui;


public class SeparatorElement extends Element
{
/** Horizontal orientation. */
  public static final int HORIZONTAL_TYPE = 0;
  /** Vertical orientation. */
  public static final int VERTICAL_TYPE   = 1;
  
  protected int orientaionType = VERTICAL_TYPE;
  
  public SeparatorElement() {
    super(SEPARATOR_TYPE);
  }

  public SeparatorElement(int type) {
    super(SEPARATOR_TYPE);
    setOrientationType(type);
  }

  public void setOrientationType(int type) {
    orientaionType = type;
  }
  
  public int getOrientationType() {
    return orientaionType;
  }
}